import Vue from 'vue'
import Router from 'vue-router'
import Home from '../page/home';

Vue.use(Router)

export default new Router({
  // mode: 'hash',
  routes: [
    {
      path: '/',
      name: 'home',
      component: Home
    },
    {
      path: '/foo',
      name: 'foo',
      component: () => import('../page/foo')
    }
  ]
});